import Vue from "vue";
import App from "./App.vue";
//引入element ui
import "./element/element.js";
//引入router
import router from "./router/router.js";
//引入全局样式
import "./assets/css/global.css";
//引入vuex
import store from "./store/store.js";
//引入axios
import axios from "axios";
axios.defaults.baseURL = "/api";
Vue.prototype.$http = axios;
//引入mockjs
import "./api/mock.js";
//引入default-passive-events
import "default-passive-events";

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
